import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
// 导入字体图标
import './assets/fonts/iconfont.css'
Vue.use(MintUI)

import 'bootstrap/dist/css/bootstrap.css'
import './assets/app.css'

// 导入 MUI 的样式
import './assets/mui/css/mui.min.css'
// 导入扩展图标样式
import './assets/mui/css/icons-extra.css'

import axios from 'axios'
import './plugins/element.js'
// 配置请求的跟路径
axios.defaults.baseURL = 'http://www.liulongbin.top:3005/'
Vue.prototype.$http = axios

// 导入格式化时间的插件
import moment from 'moment'
// 定义全局的过滤器
Vue.filter('dateFormat', function (dataStr, pattern = "YYYY-MM-DD HH:mm:ss") {
  return moment(dataStr).format(pattern)
})

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
